def close_far(a, b, c):
  return (a - b <= 1 or b - a <= 1) and (c - a >= 2 or a - c >=2) and (b - c >= 2 or c - b >= 2)or (a - c <= 1 or c - a <= 1) and (b - a >= 2 or a -b >= 2) and (b-c >=2 or c-b>=2)

